
package com.huaqin.excel.ui;

import javax.swing.PopupFactory;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

public class Launch
{
	
	public static void main(final String... args) {
//		initUserInterface();
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				String arg = args.length > 0 ? args[0] : null;
				MainFrame frame = new MainFrame(arg);
				frame.setDefaultCloseOperation(MainFrame.EXIT_ON_CLOSE);
				frame.setLocationRelativeTo(null);
				frame.setVisible(true);
			}
		});
	}
}
